Computer and Modernization ›› 2013, Vol. 218 ›› Issue (10): 193-196,.doi: 10.3969/j.issn.1006-2475.2013.10.047

• 应用与开发 • Previous Articles     Next Articles

Application of Multi-threading Technology in Subway Ticket Vending Machine Software

XIA Ye-feng1, XU Jun-shan2   

  1. 1. Department of Mechanical Manufacturing and Automation, School of Mechnical Engineering,Nanjing University of Science & Technology, Nanjing 210094, China; 2. Department of Industrial Engineering, School of Mechnical Engineering, Nanjing University of Science & Technology, Nanjing 210094, China
  • Received:2013-05-06 Revised:1900-01-01 Online:2013-10-26 Published:2013-10-26

Abstract: For the inadequate use of system resources and poor performance in the development of ticket vending machine software system, multithreading technology is proposed. Combing with the software system architecture and running mechanism of multi-threading technology, this paper achieves the device driver layer and communication layer of ticket vending machines software system by C++, and gives some key code. The performance of the whole software system has been greatly improved since this technology is used. Now, the software system has been stably operated in line two Wuhan metro.

Key words: automatic fare collection system, layer architecture, synchronization, critical section

CLC Number: